#include<cstdio>

#define ONE_FLAG (1 << 0)
#define TWO_FLAG (1 << 1)
#define THREE_FLAG (1 << 2)
#define FOUR_FLAG (1 << 3)

void print(int flags)
{
  if(flags & ONE_FLAG)
  {
    printf("One!\n");
  }
  if(flags & TWO_FLAG)
  {
    printf("Two!\n");
  }
  if(flags & THREE_FLAG)
  {
    printf("Three!\n");
  }
  if(flags & FOUR_FLAG)
  {
    printf("Four!\n");
  }
}

int main(){
  print(ONE_FLAG);
  print(ONE_FLAG | TWO_FLAG);
  print(THREE_FLAG);
  print(FOUR_FLAG);
  return 0;
}
